package CollectionDemo;

import java.util.LinkedHashMap;

public class LinkedHashMapDemo {
    public static void main(String[] args) {
        LinkedHashMap linkedHashMap = new LinkedHashMap();
        linkedHashMap.put(1,80);
        linkedHashMap.put(2,81);
        linkedHashMap.put(3,82);
        linkedHashMap.put(4,83);
        for (Object k: linkedHashMap.keySet()) {
            System.out.println(k + " " + linkedHashMap.get(k));
        }
    }
}
